// import Home from './home/Home'
// import Login from './login/Login'
// import Product from './product/Product'
// import NotFound from './notfound/NotFound'
// import Article1 from './article/Article1'
// import Article2 from './article/Article2'

import Loading from '../components/content/loading/Loading'
import Loadable from 'react-loadable';


// 路由懒加载



const Dashboard = Loadable({
    loader: () => import('./dashboard/Dashboard'),
    loading: Loading,
});
const Login = Loadable({
    loader: () => import('./login/Login'),
    loading: Loading,
});
const Product = Loadable({
    loader: () => import('./product/Product'),
    loading: Loading,
});
const NotFound = Loadable({
    loader: () => import('./notfound/NotFound'),
    loading: Loading,
});
const Article1 = Loadable({
    loader: () => import('./article/Article1'),
    loading: Loading,
});
const Article2 = Loadable({
    loader: () => import('./article/Article2'),
    loading: Loading,
});




export {
    Dashboard,
    Login,
    Product,
    NotFound,
    Article1,
    Article2,
}